package se.webbzon.boltzmann.battle.factory.property;

import java.util.ArrayList;

import se.webbzon.boltzmann.battle.battleaction.BattleActionFactory;
import se.webbzon.boltzmann.battle.battleaction.punch.PunchActionFactory;
import se.webbzon.boltzmann.battle.property.BattleProperty;
import se.webbzon.boltzmann.battle.property.BattlePropertyFactory;
import se.webbzon.boltzmann.battle.strategy.RandomStrategy;

public class SlugBPF extends BattlePropertyFactory {

	/*============================================================
	Constructors
	============================================================*/
	
	public SlugBPF() {
		super("Slug");
	}
	
	/*============================================================
	Public Methods
	============================================================*/
	
	@Override public BattleProperty makeNew(Object body) {
		ArrayList<BattleActionFactory> battleActions = 
				new ArrayList<BattleActionFactory>();
		battleActions.add(new PunchActionFactory());
		ArrayList<Integer> probabilities = new ArrayList<Integer>();
		probabilities.add(1);
		RandomStrategy strategy = new RandomStrategy(battleActions,probabilities);
		return new BattleProperty("slug01",3,3,0,0,strategy);
	}

}
